﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.Model.FixedAssetsModel
{
    /// <summary>
    /// 固定资产变更记录表 实体类
    /// </summary>

    [Table(Name = "FIXED_PermissionChange")]
    public class FIXED_PermissionChangeInfo
    {
        private int m_BianMa;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(IsPrimaryKey = true, Name = "编码", DbType = "int", Storage = "m_BianMa")]
        public int BianMa
        {
            get { return m_BianMa; }
            set { m_BianMa = value; }
        }

        private Guid m_ZiChanBianMa;
        /// <summary> 
        /// 资产编码 
        /// </summary> 
        [Column(Name = "资产编码", DbType = "uniqueidentifier not null", Storage = "m_ZiChanBianMa", UpdateCheck = UpdateCheck.Never)]
        public Guid ZiChanBianMa
        {
            get { return m_ZiChanBianMa; }
            set { m_ZiChanBianMa = value; }
        }

        private string m_BianGengXiangMu;
        /// <summary> 
        /// 变更项目 
        /// </summary> 
        [Column(Name = "变更项目", DbType = "varchar(1000)", Storage = "m_BianGengXiangMu", UpdateCheck = UpdateCheck.Never)]
        public string BianGengXiangMu
        {
            get { return m_BianGengXiangMu; }
            set { m_BianGengXiangMu = value; }
        }

        private string m_BianGengLiYou;
        /// <summary> 
        /// 变更理由 
        /// </summary> 
        [Column(Name = "变更理由", DbType = "varchar(500)", Storage = "m_BianGengLiYou", UpdateCheck = UpdateCheck.Never)]
        public string BianGengLiYou
        {
            get { return m_BianGengLiYou; }
            set { m_BianGengLiYou = value; }
        }

        private DateTime m_BianGengRiQi;
        /// <summary> 
        /// 变更日期 
        /// </summary> 
        [Column(Name = "变更日期", DbType = "date not null", Storage = "m_BianGengRiQi", UpdateCheck = UpdateCheck.Never)]
        public DateTime BianGengRiQi
        {
            get { return m_BianGengRiQi; }
            set { m_BianGengRiQi = value; }
        }

        private string m_YiJiaoRenYuan;
        /// <summary> 
        /// 移交人员 
        /// </summary> 
        [Column(Name = "移交人员", DbType = "nvarchar(50)", Storage = "m_YiJiaoRenYuan", UpdateCheck = UpdateCheck.Never)]
        public string YiJiaoRenYuan
        {
            get { return m_YiJiaoRenYuan; }
            set { m_YiJiaoRenYuan = value; }
        }

        private string m_JieShouRenYuan;
        /// <summary> 
        /// 接收人员 
        /// </summary> 
        [Column(Name = "接收人员", DbType = "nvarchar(50)", Storage = "m_JieShouRenYuan", UpdateCheck = UpdateCheck.Never)]
        public string JieShouRenYuan
        {
            get { return m_JieShouRenYuan; }
            set { m_JieShouRenYuan = value; }
        }

        private string m_YiJiaoBuMen;
        /// <summary> 
        /// 移交部门 
        /// </summary> 
        [Column(Name = "移交部门", DbType = "nvarchar(50)", Storage = "m_YiJiaoBuMen", UpdateCheck = UpdateCheck.Never)]
        public string YiJiaoBuMen
        {
            get { return m_YiJiaoBuMen; }
            set { m_YiJiaoBuMen = value; }
        }

        private string m_JieShouBuMen;
        /// <summary> 
        /// 接收部门 
        /// </summary> 
        [Column(Name = "接收部门", DbType = "nvarchar(50)", Storage = "m_JieShouBuMen", UpdateCheck = UpdateCheck.Never)]
        public string JieShouBuMen
        {
            get { return m_JieShouBuMen; }
            set { m_JieShouBuMen = value; }
        }

        private string m_ZiChanGuanLiRen;
        /// <summary> 
        /// 资产管理人 
        /// add2019-11-07 plq
        /// </summary> 
        [Column(Name = "资产管理人", DbType = "nvarchar(50)", Storage = "m_ZiChanGuanLiRen", UpdateCheck = UpdateCheck.Never)]
        public string ZiChanGuanLiRen
        {
            get { return m_ZiChanGuanLiRen; }
            set { m_ZiChanGuanLiRen = value; }
        }

        private string m_FenGuanZhuRen;
        /// <summary> 
        /// 分管主任 
        /// </summary> 
        [Column(Name = "分管主任", DbType = "nvarchar(50)", Storage = "m_FenGuanZhuRen", UpdateCheck = UpdateCheck.Never)]
        public string FenGuanZhuRen
        {
            get { return m_FenGuanZhuRen; }
            set { m_FenGuanZhuRen = value; }
        }


        private string m_ZiChanMingCheng;
        /// <summary> 
        /// 资产名称
        /// </summary> 
        public string ZiChanMingCheng
        {
            get { return m_ZiChanMingCheng; }
            set { this.m_ZiChanMingCheng = value; }
        }

        private string m_GuDingZiChanBianHao;
        /// <summary> 
        /// 固定资产编号
        /// </summary> 
        public string GuDingZiChanBianHao
        {
            get { return m_GuDingZiChanBianHao; }
            set { m_GuDingZiChanBianHao = value; }
        }

        //private string m_ZiChanGuanLiRen;
        ///// <summary> 
        ///// 资产管理人---这里暂时看作等同移交人员
        ///// </summary> 
        //public string ZiChanGuanLiRen 
        //{ 
        //    get { return m_ZiChanGuanLiRen; }
        //    set { this.m_ZiChanGuanLiRen = value; }
        //}



    }

}
